ImageGear .NET v24.14 - Updated September 15, 2020
ChangeChannelDepths(ImGearRasterPage,Int32[]) Method
Example 




ImageGear24.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > ChangeChannelDepths Method : ChangeChannelDepths(ImGearRasterPage,Int32[]) Method
Page to process.
Array containing new channels depths.
Changes bit depths of image channels.
Syntax
'Declaration
 
Public Overloads Shared Sub ChangeChannelDepths( _
   ByVal page As ImGearRasterPage, _
   ByVal newChannelDepths() As Integer _
) 
 
'Usage
 
Dim page As ImGearRasterPage
Dim newChannelDepths() As Integer
 
ImGearRasterProcessing.ChangeChannelDepths(page, newChannelDepths)

Parameters

page
Page to process.
newChannelDepths
Array containing new channels depths.
Example
// Change the channel depths of 3 channel image to 3,3,2
ImGearRasterProcessing.ChangeChannelDepths(igRasterPage, new int[] { 3, 3, 2 });
See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
Overload List
ImGearRasterPage Class